package com.shop.dao;

import com.shop.po.Winebrand;
import com.shop.po.WinebrandExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface WinebrandMapper {
    int countByExample(WinebrandExample example);

    int deleteByExample(WinebrandExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Winebrand record);

    int insertSelective(Winebrand record);

    List<Winebrand> selectByExample(WinebrandExample example);

    Winebrand selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Winebrand record, @Param("example") WinebrandExample example);

    int updateByExample(@Param("record") Winebrand record, @Param("example") WinebrandExample example);

    int updateByPrimaryKeySelective(Winebrand record);

    int updateByPrimaryKey(Winebrand record);
}